﻿<UserControl x:Class="InnerProduct.Slider"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    IsTabStop="True" 
>
    <Grid x:Name="Layout">
        <Grid.RowDefinitions>
            <RowDefinition Height="6"/>
            <RowDefinition />
            <RowDefinition Height="6"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="7"/>
        </Grid.ColumnDefinitions>
        <Rectangle Grid.Row="1">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="1"/>
                    <GradientStop x:Name="GStop" Color="Yellow"/>
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Canvas x:Name="Thumb" Margin="0,0,0,0" VerticalAlignment="Top" Grid.Row="1" HorizontalAlignment="Right" Width="5">
            <Path Data="M0,4 L8,8 L8,0 z" Fill="White" Stretch="Fill" Height="10" Width="7" Canvas.Top="-5" Stroke="Black"/>
            <Rectangle x:Name="Tab" Height="12" Width="6" Canvas.Left="6" Stroke="#FF303030" Canvas.Top="-6"/>
        </Canvas>
    </Grid>
</UserControl>
